package com.baijia.dao.po;

import lombok.Data;

import java.util.Date;

/**
 * Created by bjhl on 16/4/25.
 */
@Data
public class Passport {
    private long id;
    private String mobile;
    private String password;
    private String username;
    private String email;
    private Long userId;
    private Long orgId;
    private Long thirdID;
    private int mobileVerify;
    private int eamilVerify;
    private Date createTime;
    private Date updateTime;

    public enum MobileVerify {
        YES(1, "通过"),
        NO(0, "未通过");

        private int id;
        private String value;

        MobileVerify(int id, String value){
            this.id = id;
            this.value = value;
        }

        public int getId(){
            return id;
        }
    }
}
